class AddTestData < ActiveRecord::Migration
  def self.up
    Product.delete_all
    Product.create(:title => 'Pragmatic Version Control',
      :description => %{This book is a recipe-based approach to using Subversion that will get you up.},
      :image_url => '/images/svn.jpg',
      :price => 28.50)
  end

  def self.down
    Product.delete_all
  end
end
